package com.mi.system.vo;

import com.mi.common.core.util.TreeNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Dept tree VO
 *
 * @author jin_huaquan
 * @version 1.0
 * @date 2021/12/2 10:42
 */
@ApiModel(value = "DeptTreeVO对象", description = "部门信息")
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class DeptTreeVO extends TreeNode implements Serializable {

    @ApiModelProperty(value = "部门名称", required = true)
    private String name;

    @ApiModelProperty(value = "排序值", required = true)
    private Integer sort;

    @ApiModelProperty(value = "创建时间", required = true)
    private LocalDateTime createTime;
}
